package http

import (
	"iotall/iotcore/entity"
	"iotall/iotproxy/server/proxyserver"
)

type CreateProxy struct {
}

func (p *CreateProxy) NewServer(m *entity.CommPort) proxyserver.IProxyServer {
	var svr = &HttpServer{}
	svr.SetCommPort(m)
	return svr
}
